package com.fira.edu.domain;

import com.fira.common.annotation.Excel;
import com.fira.common.core.domain.saas.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 上课点名记录对象 edu_class_roll_call
 * 
 * @author zhushuyong
 * @date 2021-10-12
 */
public class EduClassRollCall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 租户 */
    @Excel(name = "租户")
    private String tenantId;

    /**  */
    @Excel(name = "")
    private String studentCourseId;

    /** 所属课程 */
    @Excel(name = "所属课程课次")
    private String courseScheduleTimeId;

    /** 到课状态(0:到课,1:迟到,2:缺席,3:请假) */
    @Excel(name = "到课状态(0:到课,1:迟到,2:缺席,3:请假)")
    private String toClassStatus;

    /** 本次课时 */
    @Excel(name = "本次课时")
    private Integer currentClassHours;

    /** 本次课时 */
    @Excel(name = "本次课程点名类型(正常排课/临时排课)")
    private String rollCallType;

    /** 数据状态(0:无效,1:有效) */
    @Excel(name = "数据状态(0:无效,1:有效)")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setStudentCourseId(String studentCourseId)
    {
        this.studentCourseId = studentCourseId;
    }

    public String getStudentCourseId()
    {
        return studentCourseId;
    }

    public String getCourseScheduleTimeId() {
        return courseScheduleTimeId;
    }

    public void setCourseScheduleTimeId(String courseScheduleTimeId) {
        this.courseScheduleTimeId = courseScheduleTimeId;
    }

    public void setToClassStatus(String toClassStatus)
    {
        this.toClassStatus = toClassStatus;
    }

    public String getToClassStatus() 
    {
        return toClassStatus;
    }
    public void setCurrentClassHours(Integer currentClassHours) 
    {
        this.currentClassHours = currentClassHours;
    }

    public Integer getCurrentClassHours() 
    {
        return currentClassHours;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getRollCallType() {
        return rollCallType;
    }

    public void setRollCallType(String rollCallType) {
        this.rollCallType = rollCallType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("studentCourseId", getStudentCourseId())
            .append("courseScheduleId", getCourseScheduleTimeId())
            .append("toClassStatus", getToClassStatus())
            .append("currentClassHours", getCurrentClassHours())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
